package com.oracle.application.mapper;

import com.oracle.application.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 莉丝妲黛
 * @since 2021-06-24
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
    /**
     * 修改订单状态
     * @param orderSn 订单唯一编号
     * @return 受影响的行数
     */
    int updateOrderStatus(String orderSn);
}
